Method DiscoverModulesAsync(IEnumerable<string>, string[]?, bool)
Discovers modules in assemblies and .tpkg packages at the specified paths.
Packages are opened with the given probePaths and collectible
settings and stored in for HotReloadService adoption.
public Task<int> DiscoverModulesAsync(IEnumerable<string> assemblyPaths, string[]? probePaths, bool collectible)